﻿<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
		<meta name="apple-mobile-web-app-capable" content="yes" />
		<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
		<meta name="apple-mobile-web-app-title" content="思路广惠">
		<title>意见反馈</title>

		<meta content="telephone=no" name="format-detection" />

		<link rel="stylesheet" type="text/css" href="../../src/css/base.css?1.0" />
	</head>

	<body class="body-bg">
		<header class="header">
			<a href="javascript: history.go(-1);" class="head-le"><i class="iconfont icon-fanhui i2m"></i></a>
			<div class="header-txt">意见反馈</div>
		</header>
		<section class="top1rem">
			<div class="feedback">

				<textarea class="feedback-tt" placeholder="请输入您的宝贵意见（100字以内）"></textarea>
				<input class="feedback-inp" type="text" placeholder="QQ、手机或邮箱等联系方式" />
				<p>您的联系方式有助于我们沟通和解决问题仅工作人员可见</p>

			</div>

			<div class="own-save">
				<button class="own-save-btn" id="subChange" type="button">
                提交
            </button>
			</div>
		</section>
		<script src="//cdn.bootcss.com/jquery/3.2.1/jquery.min.js"></script>
		<script src="//cdn.bootcss.com/layer/3.0.1/mobile/layer.js"></script>
		<script src="../../src/js/all.js" type="text/javascript" charset="utf-8"></script>
		<script>
			$("#subChange").click(function() {
				if($("textarea").val() == "") {
					layers("意见不能为空")
				} else if($("input").val() == "") {
					layers("联系方式不能为空")
				} else {
					$.post(urls + "/FeedBack/AddFeedBack", {
						MembersID: MembersID,
						Contents: $("textarea").val(),
						Type: "订单流",
						Phone: $("input").val(),
						AppID: AppID,
						Token: Token
					}, function(res) {
						layers(res.Return_Mess);
					});
				}
			});
		</script>
	</body>

</html>